package com.business.bean.basic;

import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * 一个工程包含多个项目
 */
@Setter
@Getter
@Table(name = "BAS_ENGINEER", description = "工程表")
public class EngineerBean {

	@Column(pk = true, type = Type.定长文本, description = "工程编号", canNull = false, size = 32, policy = "UUID")
	private String engineerID = null;

	@Column(type = Type.变长文本, description = "工程编号", size = 50)
	private String engineerNo = null;

	@Column(type = Type.变长文本, description = "工程名称", size = 200)
	private String engineerName = null;

	@Column(type = Type.定长文本, description = "客户编号", size = 32)
	private String companyID = null;

	@Column(type = Type.变长文本, description = "企业名称", size = 30)
	private transient String companyName = null;

	/** 有效：1；结束：2 */
	@Column(type = Type.数字整型, description = "工程状态")
	private int status = 0;

	@Column(type = Type.变长文本, description = "工程分类", size = 100)
	private String type = null;

	@Column(type = Type.日期时间, description = "工程开始日期")
	private Date startTime = null;

	@Column(type = Type.日期时间, description = "工程结束日期")
	private Date endTime = null;

	@Column(type = Type.变长文本, description = "说明", size = 200)
	private String description = null;
}
